package easy;

public class Solution_709 {

    public String toLowerCase(String s) {
        char[] chars = s.toCharArray();
        for (int i = 0; i < chars.length; i++) {
            if (chars[i] >= 65 && chars[i] <= 90) {
                chars[i] = (char)(chars[i] + 32);
            }
        }
        return new String(chars);
    }

    public static void main(String[] args) {
        Solution_709 model = new Solution_709();
        System.out.println(model.toLowerCase("Hello"));
        System.out.println(model.toLowerCase("here"));
        System.out.println(model.toLowerCase("LOVELY"));
    }
}
